<%@page import="com.crossriver.crgis.portlet.util.DownloadUtil"%>
<%@page import="java.util.List"%>
<%@page import="java.util.Iterator"%>
<%@page import="com.crossriver.crgis.database.model.Application_C_of_O"%>
<%@page import="com.crossriver.crgis.database.service.Application_C_of_OLocalServiceUtil"%>
<%@page import="com.crossriver.crgis.database.model.Supporting_Document"%>
<%@page import="com.crossriver.crgis.database.service.Supporting_DocumentLocalServiceUtil"%>
<%@page import="com.liferay.portal.theme.ThemeDisplay"%>
<%@page import="com.liferay.portal.kernel.util.WebKeys"%>

<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>


<portlet:defineObjects />

<div id="main">
	<h1>Application Forms</h1>
  <div class="content"> 
  
	

		<portlet:resourceURL var="indCofOApp">
			<portlet:param name="fileName" value="indCofOApp" />
			<portlet:param name="downloadType" value="static" />
		</portlet:resourceURL>
	
		<portlet:resourceURL var="orgCofOApp">
			<portlet:param name="fileName" value="orgCofOApp" />
			<portlet:param name="downloadType" value="static" />
		</portlet:resourceURL>
		  	
	  	<portlet:resourceURL var="indReCofOApp">
			<portlet:param name="fileName" value="indReCofOApp" />
			<portlet:param name="downloadType" value="static" />
		</portlet:resourceURL>
		
		<portlet:resourceURL var="orgReCofOApp">
			<portlet:param name="fileName" value="orgReCofOApp" />
			<portlet:param name="downloadType" value="static" />
		</portlet:resourceURL>
		
		<portlet:resourceURL var="fpCofOApp">
			<portlet:param name="fileName" value="fpCofOApp" />
			<portlet:param name="downloadType" value="static" />
		</portlet:resourceURL>
		
		<portlet:resourceURL var="allocofstatelandind">
			<portlet:param name="fileName" value="allocofstatelandind" />
			<portlet:param name="downloadType" value="static" />
		</portlet:resourceURL>
		
		<portlet:resourceURL var="allocofstatelandorg">
			<portlet:param name="fileName" value="allocofstatelandorg" />
			<portlet:param name="downloadType" value="static" />
		</portlet:resourceURL>
  	
  	
  	<p>To download any of the forms below, Right-Click [or Option-Click] the link below and choose 
  	"<strong>Save As...</strong>" to download the file.</p>
  	
  	
    <img src="${renderRequest.contextPath}/images/pdf.png" align="absmiddle"> 
    	<a href="<%=indCofOApp %>" target="_blank">Individual Application for Certificate of Occupancy</a><br>
    <img src="${renderRequest.contextPath}/images/pdf.png" align="absmiddle"> 
    	<a href="<%=orgCofOApp %>" target="_blank">Organisation Application for Certificate of Occupancy</a><br>
    <img src="${renderRequest.contextPath}/images/pdf.png" align="absmiddle">
    	<a href="<%=indReCofOApp %>" target="_blank">Individual Application for Re-certification of Certificate of Occupancy</a><br>
    <img src="${renderRequest.contextPath}/images/pdf.png" align="absmiddle"> 
    	<a href="<%=orgReCofOApp %>" target="_blank">Organisation Application for Re-certification of Certificate of Occupancy</a><br> 
    <img src="${renderRequest.contextPath}/images/pdf.png" align="absmiddle"> 
    	<a href="<%=allocofstatelandind %>" target="_blank">Individual Application for Allocation of State Land</a><br> 
    <img src="${renderRequest.contextPath}/images/pdf.png" align="absmiddle"> 
    	<a href="<%=allocofstatelandorg %>" target="_blank">Organization Application for Allocation of State Land</a><br> 
    	
    <br>
    <p>
    All documents must be filled in English. Only complete applications should be sent to CRGIA. <strong>The absence of any of 
    the required documents will delay the consideration of your application.</strong>
    </p>
	</div>
</div>
